package com.yjps.system.model;

import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by jessy on 2015/9/1.
 */
@Entity
@Table(name = "role_permission")
public class RolePermission extends BaseModel{
    @Column(name = "role_id")
    private int roleId;
    @Column(name = "permission_id")
    private int permissionId;

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        System.out.println();
        this.roleId = roleId;
    }

    public int getPermissionId() {
        return permissionId;
    }


    public void setPermissionId(int permissionId) {
        this.permissionId = permissionId;
    }
}
